<template>
    <div class="abilityComponent mg0">
        <!-- pc端显示：hidden-sm-and-down -->
        <div class="abilityVue_2 hidden-sm-and-down">
            <div class="title">衣勾选热门产品能力</div>
            <div class="listVue flex-between mg80">
                <div class="item">
                    <p class="label">企业源头直营</p>
                    <p class="value">厂家源头商品<br>直营平价来袭</p>
                </div>
                <div class="item">
                    <p class="label">同城即时配送</p>
                    <p class="value">线上下单选购<br>线下即时送达</p>
                </div>
                <div class="item">
                    <p class="label">企业源头直营</p>
                    <p class="value">厂家源头商品<br>直营平价来袭</p>
                </div>
                <div class="item">
                    <p class="label">同城即时配送</p>
                    <p class="value">线上下单选购<br>线下即时送达</p>
                </div>
            </div>
        </div>

        <!-- 移动端显示：hidden-md-and-up -->
        <div class="abilityVue_1 flex-column mg30 align-center hidden-md-and-up">
            <div class="title">衣勾选热门产品能力</div>
            <div class="listVue flex-center mg20">
                <div class="item">
                    <p class="label">企业源头直营</p>
                    <p class="value">厂家源头商品<br>直营平价来袭</p>
                </div>
                <div class="item">
                    <p class="label">同城即时配送</p>
                    <p class="value">线上下单选购<br>线下即时送达</p>
                </div>
            </div>
            <div class="listVue flex-center mg20">
                <div class="item item_1">
                    <p class="label">AI虚拟试衣</p>
                    <p class="value">预览上身效果<br>告别退货烦恼</p>
                </div>
                <div class="item item_1">
                    <p class="label">穿搭分享社区</p>
                    <p class="value">汇聚时尚达人<br>获取穿搭灵感</p>
                </div>
            </div>
        </div>
    </div>
</template>

<style lang="less">
.abilityComponent {
    max-width: 1300px;
    .abilityVue_2 {
        width: 1300px;
        padding-top: 160px;
        .title {
            color: #1D2129; 
            font-weight: 600; 
            text-align: center;
            font-size: 60px;
        }
        .listVue {
            width: 1300px;
            height: 546px;
            .item {
                width: 306px;
                height: 428px;
                padding: 40px;
                .label {
                    color: #1d2129;
                    font-size: 30px;
                    font-weight: 500;
                }
                .value {
                    color: #1d2129;
                    font-size: 20px;
                    padding-top: 25px;
                    line-height: 1.5;
                }
            }
            .item:nth-child(1) {
                background: url("../assets/1.png") no-repeat;
                background-size: 100% 100%;
            }
            .item:nth-child(2) {
                background: url("../assets/2.png") no-repeat;
                background-size: 100% 100%;
            }
            .item:nth-child(3) {
                background: url("../assets/3.png") no-repeat;
                background-size: 100% 100%;
            }
            .item:nth-child(4) {
                background: url("../assets/4.png") no-repeat;
                background-size: 100% 100%;
            }
        }
    }

    .abilityVue_1 {
        width: 100%;
        padding: 15px;
        .title {
            color: #1D2129; 
            font-weight: 600; 
            text-align: center;
            font-size: 16px;
        }
        .listVue {
            width: 100%;
            .item {
                width: 160px;
                height: 213px;
                margin: 0 10px;
                padding: 18px;
                .label {
                    color: #1d2129;
                    font-size: 14px;
                    font-weight: 500;
                }
                .value {
                    color: #1d2129;
                    font-size: 12px;
                    padding-top: 12px;
                    line-height: 1.5;
                }
            }
            .item:nth-child(1) {
                background: url("../assets/1.png") no-repeat;
                background-size: 100% 100%;
            }
            .item:nth-child(2) {
                background: url("../assets/2.png") no-repeat;
                background-size: 100% 100%;
            }
            .item_1:nth-child(1) {
                background: url("../assets/3.png") no-repeat;
                background-size: 100% 100%;
            }
            .item_1:nth-child(2) {
                background: url("../assets/4.png") no-repeat;
                background-size: 100% 100%;
            }
        }
    }
}
</style>